<?php /* Smarty version Smarty-3.1.8, created on 2012-06-14 06:48:14
         compiled from "../includes/interface/templates\contrat.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1034fd9892ea24ec7-01927594%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '07dcfe0d8e7c8b497dda7aaeb9eed3e0b6bcd736' => 
    array (
      0 => '../includes/interface/templates\\contrat.tpl',
      1 => 1339158073,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1034fd9892ea24ec7-01927594',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd9892eb3bac7_32522975',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd9892eb3bac7_32522975')) {function content_4fd9892eb3bac7_32522975($_smarty_tpl) {?><?php if (!is_callable('smarty_function_cycle')) include 'C:\\wamp\\www\\trunk\\includes\\interface\\smarty\\libs\\plugins\\function.cycle.php';
?><section id="content">
    
    <h1 class="article"><?php echo $_smarty_tpl->getConfigVariable('CONTRATS');?>
</h1>
        
    <div class="article buttons">
        <a id="contratsRechercher" href="?action=afficherRechercherContrat">
            <span><?php echo $_smarty_tpl->getConfigVariable('RECHERCHER');?>
</span>
        </a>
        <a id="contratsAjouter" href="?action=afficherAjouterContrat">
            <span><?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
</span>
        </a>
    </div>

    <h2 class="article"><?php echo $_smarty_tpl->getConfigVariable('DERNIER_ENREGISTREMENT');?>
</h2>
        
        <div id="tableau" class="article">
                    
        	<table>
            	<tr style="background-color:#FC0">
               	
                <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = 'entetes'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
                	<th><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</th>
                
                </tr><?php } ?>
                      
                <?php  $_smarty_tpl->tpl_vars['contrat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['contrat']->_loop = false;
 $_from = 'contrats'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['contrat']->key => $_smarty_tpl->tpl_vars['contrat']->value){
$_smarty_tpl->tpl_vars['contrat']->_loop = true;
?>
                
                <tr style="background: <?php echo smarty_function_cycle(array('values'=>"#eeeeee,#d0d0d0"),$_smarty_tpl);?>
">
                	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = 'contrat'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
              		<td><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</td>
                    <?php } ?>
                 </tr>
                <?php } ?>
			</table>
                    
		</div>
</section>    <?php }} ?>